package com.yunji.hushuang.factorymethod;

/**
 * @author hushuang
 * @since 2019/9/26
 */
public class ControlFactoryTest {

    public static void main(String[] args) {
        new ButtonFactory().create().paint();
        new TextFactory().create().paint();
    }
}
